make ldconfig use the built-in system paths
authorSteve Langasek <steve.langasek@linaro.org>
Sun, 5 Dec 2021 15:46:21 +0000 (15:46 +0000)
committerAurelien Jarno <aurel32@debian.org>
Sun, 5 Dec 2021 15:46:21 +0000 (15:46 +0000)
commitd90cef0a9478d00286b94264cb003aca2d9bcaac
tree4b0645a9a4e1951114628666a6679843fd6fa10e
parent492291203f72498be4c53f14ee2c932e9d6209f8
make ldconfig use the built-in system paths

Bug-Ubuntu: https://bugs.launchpad.net/bugs/736932

Make ldconfig use the same view of built-in system paths that ld.so does,
instead of just using SLIBDIR and LIBDIR; this corrects a failure of
ldconfig to cache libraries in non-multiarch directories when building for
multiarch, even though they're on the system path.

Gbp-Pq: Topic any
Gbp-Pq: Name local-ldconfig-multiarch.diff
elf/ldconfig.c